<tr class="<%= cycle('odd', 'even') -%>">
  <td><%= imageurl.simgurl -%></td>
  <td><%= image_tag(imageurl.simgurl) -%></td>

    <td>[<%= link_to 'delete', {:controller=>'article_photos',:action=>'destroy1',:id=>imageurl.id,:article_id => imageurl.article_id}, :method => :delete, 
          :confirm => 'Are you sure you wish to delete this imageurl?' %>][<%= link_to 'edit',{:controller=>'article_photos',:action=>'imageedit',:id=>imageurl.id,:article_id => imageurl.article_id}%>]</td>
</tr>
